package com.cn.ycy;

import org.springframework.boot.web.servlet.ServletContextInitializer;
import org.springframework.context.annotation.Configuration;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

@Configuration
public class MysServletContextInitialize implements ServletContextInitializer {
  @Override
  public void onStartup(ServletContext servletContext) throws ServletException {
    System.out.println("springboot中的 MysServletContextInitialize 启动了 。。。");
  }
}
